package com.myzl.coal.service;

import com.myzl.common.enums.DemoEnum;

import java.util.Map;

/**
 *@ClassName: IDemoService
 *@Author: wzb
 *@Date: 2023/6/15 13:58
 *@Description:
 */
public interface IDemoService
{
    public boolean getSwitch(String flag);
    public Map<String, Boolean> getAllSwitch();
    public void setRedisPoliceFlag(DemoEnum demoEnum, Boolean flag);
    public boolean getRedisPoliceFlag(DemoEnum demoEnum);
}
